package com.market.domain.transients;

import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Date;

public class SalesGroupByProductQuery  implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3981939909252422560L;

	private SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");

	private Date startDate;

	private Date endDate;
	
	
	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	
	
	public String getStartDateLabel(){
		return format.format(startDate);
	}
	
	public String getEndDateLabel(){
		return format.format(endDate);
	}
	
	
}
